package view.event.main
{
	import flash.events.Event;
	
	
	/**
	 * 主应用事件
	 * @author £iang
	 * 
	 */	
	public class ApplicationEvent extends Event
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		static public const SHOW_LOGIN_FORM:String = "showLoginForm";
		/** 注册View */
		static public const CONFIG_VIEW:String = "ApplicationEvent.configView";
		/** 注册Model */
		static public const CONFIG_MODEL:String = "ApplicationEvent.configModel";
		/** 注册Service */
		static public const CONFIG_SERVICE:String = "ApplicationEvent.configService";
		/** 注册Controller */
		static public const CONFIG_CONTROLLER:String = "ApplicationEvent.configController";
		
		//-----------------------------
		// properties
		//-----------------------------
		
		//-----------------------------
		// setter&getter
		//-----------------------------
		
		//-----------------------------
		// methods
		//-----------------------------
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function ApplicationEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}